import { createApp } from "vue";
import App from "./App.vue";
import { createWebHistory } from "vue-router";
import createRouter from "./router";
import { createPinia } from "pinia";
const router = createRouter(createWebHistory());
const store = createPinia();

let app = createApp(App);

app.use(store);
app.use(router);

router.isReady().then(() => {
  app.mount("#app");
});
